http2_headers
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 16 Feb 2018 18:36:32 +0000 (18:36 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Fri, 16 Feb 2018 18:36:32 +0000 (18:36 +0000)
Gbp-Pq: Name http2_headers.diff

src/network/access/qhttp2protocolhandler.cpp

index 44ab637da88ee2cf425235439f55e0b5ac9fc7e0..1a3eb1a03f51a82f4289c2ffaf7c272b6f196c27 100644 (file)
@@ -1053,7 +1053,7 @@ void QHttp2ProtocolHandler::updateStream(Stream &stream, const HPack::HttpHeader
             QByteArray binder(", ");
             if (name == "set-cookie")
                 binder = "\n";
-            httpReply->setHeaderField(name, value.replace('\0', binder));
+            httpReplyPrivate->fields.append(qMakePair(name, value.replace('\0', binder)));
         }
     }